ElasticPress\Feature\RelatedPosts\RelatedPosts S

Total Complexity 27
Dependencies 3
Dependents 1
Total lines 333
Lines of code 171
Logical lines of code 73
Comment lines 122
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
formatted_args()
A
48 9 32
output_endpoint()
S
48 4 31
render_block()
S
51 4 27
setup_endpoint()
S
55 1 22
register_block()
S
58 1 16
find_related()
S
68 2 7
__construct()
S
66 1 8
get_related_query()
S
65 1 9
setup()
S
67 1 7
register_widget()
S
80 1 3
hide_legacy_widget()
S
77 1 4
output_feature_box_long()
S
74 1 5